package com.example.piece.ui.demo

import android.view.View
import androidx.databinding.ViewDataBinding
import com.therouter.router.Route
import com.example.piece.R
import com.example.piece.constant.RoutePath
import com.example.piece.databinding.TestActivityStatusBarPcactivityBinding
import com.example.piece.ui.activity.Layer3Activity

/**
 * 全屏图片
 */
@Route(path = RoutePath.TESTActivity.STATUS_BAR_UTILS_TEST_P)
class StatusBarTestPActivity : Layer3Activity<TestActivityStatusBarPcactivityBinding,ViewDataBinding>() {


        override val isTransparentStatusBar: Boolean = true
        override val isLockPortrait: Boolean = true
        override val statusBarAlpha: Int = 0
        override val isDarkMode: Boolean = true
        override val isFitsSystemWindows: Boolean = false
        override val leftIcon1Res: Int = R.drawable.ic_back
        override val centerLayoutRes: Int = R.layout.test_activity_status_bar_pactivity
        override val title: String
        get() = "全屏图片"

    override fun onClickLeftIcon1(view: View) {
        onBackPressed()

    }

}